package com.geek.rest;

import java.lang.annotation.Annotation;


public class AnnotatedParamMetadata {

    private Class<? extends Annotation> annotationType;

    private String paramName;


    private String defaultValue;

    private int parameterIndex;

    public AnnotatedParamMetadata setAnnotationType(Class<? extends Annotation> annotationType) {
        this.annotationType = annotationType;
        return this;
    }

    public AnnotatedParamMetadata setParamName(String paramName) {
        this.paramName = paramName;
        return this;
    }

    public AnnotatedParamMetadata setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
        return this;
    }

    public AnnotatedParamMetadata setParameterIndex(int parameterIndex) {
        this.parameterIndex = parameterIndex;
        return this;
    }


    public Class<? extends Annotation> getAnnotationType() {
        return annotationType;
    }

    public String getParamName() {
        return paramName;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public int getParameterIndex() {
        return parameterIndex;
    }
}
